<template>
	<view>
		<!--顶部区域-->
		<view class="smart-panel-head">
			<view class="smart-panel-head-title">view</view>
		</view>
		<!--主题-->
		<view class="smart-padding-wrap">
			<view>flex-direction:row 横向布局</view>
			<view class="smart-flex smart-row">
				<view class="flex-item smart-bg-red">red</view>
				<view class="flex-item smart-bg-orange">orange</view>
				<view class="flex-item smart-bg-green">green</view>
			</view>
			<view>flex-direction:column 纵向布局</view>
			<view class="smart-flex smart-column">
				<view class="flex-item-c smart-bg-red">red</view>
				<view class="flex-item-c smart-bg-orange">orange</view>
				<view class="flex-item-c smart-bg-green">green</view>
			</view>
			<view>其他布局</view>
			<view>
				<view class="text">纵向布局-自动宽度</view>
				<view class="text" style="width:300rpx;">纵向布局-固定宽度</view>
				<view class="smart-flex smart-row">
					<view class="text">横向布局-自动宽度</view>
					<view class="text">横向布局-自动宽度</view>
				</view>
				<view class="smart-flex smart-row" style="justify-content: center;">
					<view class="text">横向布局-居中</view>
					<view class="text">横向布局-居中</view>
				</view>
				<view class="smart-flex smart-row" style="justify-content: flex-end;">
					<view class="text">横向布局-居右</view>
					<view class="text">横向布局-居右</view>
				</view>
				<view class="smart-flex smart-row">
					<view class="text" style="flex:1;">横向布局-平均分布</view>
					<view class="text" style="flex:1;">横向布局-平均分布</view>
				</view>
				<view class="smart-flex smart-row" style="justify-content: space-between;">
					<view class="text">横向布局-两端对齐</view>
					<view class="text">横向布局-两端对齐</view>
				</view>
				<view class="smart-flex smart-row">
					<view class="text" style="width: 150rpx;">固定宽度</view>
					<view class="text" style="flex:1;">自动占满</view>
				</view>
				<view class="smart-flex smart-row">
					<view class="text" style="width: 120rpx;">固定宽度</view>
					<view class="text" style="flex:1;">自动占满</view>
					<view class="text" style="width: 120rpx;">固定宽度</view>
				</view>
				<view class="smart-flex smart-row" style="flex-wrap: wrap;">
					<view class="text" style="width: 280rpx;">一行显示不全wrap折行</view>
					<view class="text" style="width: 280rpx;">一行显示不全wrap折行</view>
					<view class="text" style="width: 280rpx;">一行显示不全wrap折行</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>

</style>